package com.easy.frame.servers.sys.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * 点击新增层级返回对象
 *
 * @author tp
 * @date 2021/1/4 10:07
 */
@Setter
@Getter
@ToString
public class SysMaterielTypeVO {

    private Long id;

    @ApiModelProperty("位置编号")
    private String code;

    @ApiModelProperty("位置名称")
    private String name;

    @ApiModelProperty("长编码")
    private String path;

    @ApiModelProperty("父级长编码")
    private String parentPath;

    @ApiModelProperty("父级长编码名称")
    private String parentPathName;

    @ApiModelProperty("父级ID")
    private Long parentId;

    @ApiModelProperty("层级")
    private Integer level;

    @ApiModelProperty("排序")
    private Integer orderNum;

    @ApiModelProperty("是否叶节点 [0否 1是]")
    private Boolean leafNode;

    @ApiModelProperty("启用状态 [0禁用 1启用]")
    private Integer enabled;

    @ApiModelProperty("完整编码")
    private String fullCode;

    @ApiModelProperty("物料类型")
    private String materielType;

    @ApiModelProperty("企业是否启用（默认是1都启用）")
    private Integer tenantEnabled;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建人")
    private Long createBy;

    @ApiModelProperty("创建人名")
    private String createByName;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改人")
    private Long updateBy;

    @ApiModelProperty("修改人名")
    private String updateByName;

    @ApiModelProperty("修改时间")
    private Date updateTime;
}
